<?php
header("Content-type: text/html; charset=utf-8");
set_time_limit(10);
date_default_timezone_set('Asia/Shanghai');
//$xml = simplexml_load_string($data);
$xml = simplexml_load_file('endpoints.xml');
echo json_encode($xml);










?>